package ahpu.piconet.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import ahpu.piconet.dao.UserDao;
import ahpu.piconet.domin.User;
import ahpu.piconet.service.UserService;

@Service
public class UserServiceImpl implements UserService{

	@Autowired
	private UserDao userDao;
	
	@Override
	public User login(String username) throws Exception {
		
		return userDao.login(username);
	}

	
}
